import fly from '../utils/request.js'

export const login =(data)=>{
    return fly.post('/authorizations',data)
  }

  export const sms =(mobile)=>{
    return fly.get(`sms/codes/${mobile}`)
}